package com.kt.service.imp;

import com.kt.dao.OrderDAO;
import com.kt.dao.imp.OrderDAOImp;
import com.kt.domain.Order;
import com.kt.utils.UtilDB;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

public class OrderServiceImp implements OrderDAO {

    private OrderDAOImp orderDAOImp = new OrderDAOImp();

    public List<Order> findByUid(String uid) {
        return orderDAOImp.findByUid(uid);
    }

    public Order findById(String oid) {
        return orderDAOImp.findById(oid);
    }

    public int changeOrderInfo(Order order) {
        return changeOrderInfo(order);
    }
}
